package com.soft.mainsite;

import com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * CmsApplication启动类
 *
 * @author Jin
 * @create 2017-06-16
 */
@SpringBootApplication(exclude = PageHelperAutoConfiguration.class)
@MapperScan("com.soft.mainsite.module.*.dao")
@EnableTransactionManagement
@EnableCaching
public class CmsApplication {

	public static void main(String[] args){
		SpringApplication.run(CmsApplication.class, args);
	}
}